export const login = (data) => {
	return uni.$u.http.post("/login", data)
}

export const register = (data) => {
	return uni.$u.http.post('/api/user/register', data)
}

// 查询用户详细信息
export const getUserInfo = (config = {}) => uni.$u.http.get('/api/user/userInfo', config)